package fge;

import com.mxgraph.model.mxGeometry;
import com.mxgraph.util.mxConstants;
import com.mxgraph.util.mxPoint;

public class OutputPort extends IOport {

	public OutputPort() {
		super();

		mxGeometry geo = new mxGeometry(1.0, 0.5, PORT_DIAMETER, PORT_DIAMETER);
		geo.setOffset(new mxPoint(-PORT_RADIUS, -PORT_RADIUS));
		geo.setRelative(true);

		// JGraph specifics
		this.setGeometry(geo);
		this.changeStyle(mxConstants.STYLE_STROKECOLOR, "red");
	}
}
